package kr.hkit.androidcomplete02;

import kr.hkit.androidcomplete02.ch11.*;
import kr.hkit.androidcomplete02.ch12.*;
import kr.hkit.androidcomplete02.ch13.*;
import kr.hkit.androidcomplete02.ch14.*;
import kr.hkit.androidcomplete02.ch15.*;
import kr.hkit.androidcomplete02.ch16.*;
import kr.hkit.androidcomplete02.ch17.*;
import kr.hkit.androidcomplete02.ch18.*;
import kr.hkit.androidcomplete02.ch19.*;
import kr.hyunist.androidcomplete01.*;
import android.app.*;
import android.content.*;
import android.os.*;
import android.view.*;

public class ActivityMain extends Activity {
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activitymain);
	}
	
	public void mOnClick(View v){
		Intent intent = null;
		
		switch(v.getId()){
		case R.id.main_btn01:
			intent = new Intent(this, Ch11AMainActivity.class);
			break;
		
		case R.id.main_btn02:
			intent = new Intent(this, Ch12AMainActivity.class);
			break;
			
		case R.id.main_btn03:
			intent = new Intent(this, Ch13AMainActivity.class);
			break;	
			
		case R.id.main_btn04:
			intent = new Intent(this, Ch14AMainActivity.class);
			break;	
			
		case R.id.main_btn05:
			intent = new Intent(this, Ch15AMainActivity.class);
			break;	
			
		case R.id.main_btn06:
			intent = new Intent(this, Ch16AMainActivity.class);
			break;	
			
		case R.id.main_btn07:
			intent = new Intent(this, Ch17AMainActivity.class);
			break;	
			
		case R.id.main_btn08:
			intent = new Intent(this, Ch18AMainActivity.class);
			break;	
			
		case R.id.main_btn09:
			intent = new Intent(this, Ch19AMainActivity.class);
			break;	
		}
		
		startActivity(intent);
				
	}
}
